﻿using Rabbit.Domain.Entity;
using Rabbit.Domain.IRepository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Rabbit.Domain.Repository
{
    public class GoodsRepository : IGoodsRepository
    {
        private readonly RbacContext _context;

        public GoodsRepository(RbacContext context)
        {
            _context = context;
        }

        public IQueryable<Good> GetGoods()
        {
            return _context.Goods.AsQueryable();
        }
    }
}
